package org.example.spring.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.spring.domain.pojo.Admin;

@Mapper
public interface AdminMapper {
    @Select("SELECT * FROM admins where username=#{username} and password=#{password}")
    Admin getAdmin(String username, String password);
}
